#!/bin/sh
until
		echo "\033[34m1.甜糖状态\033[0m"
		echo "\033[34m2.运行甜糖\033[0m"
		echo "\033[34m3.查看硬盘\033[0m"
		echo "\033[34m4.收益技巧\033[0m"
		echo "\033[34m5.老罗语录\033[0m"
		echo "\033[34m6.退出菜单\033[0m"
		echo "\033[34m请输入相应的数字（1-6）然后回车执行\033[0m"
		echo "\033[35m我们的目标是星辰大海\033[0m"
		
		read input
		test $input = 6
		do
			case $input in
			1)echo "\033[36m状态查看\033[0m"
			   ps -ef|grep ttnode;;
			2)echo "\033[36m已启动\033[0m"
				/usr/node/ttnode -p /mnt/disk;;
				
			3)echo "\033[36m硬盘状况\033[0m"
			    lsblk;;
			 
			4)echo "\033[36m复制网址在浏览器打开查看:https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=4061622&page=1&extra=#pid10470957\033[0m"
					;;
			5)echo "\033[36m每個人生下來都註定改變世界\033[0m"
                    ;;
			6)echo "请输入选择(1-6)"
			esac
			done